<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<table class="table">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>得分</td>
        <td>等级</td>
        <td>操作</td>
    </tr>
    @foreach($data as $v)
        <tr>
            <td>{{$v->id}}</td>
            <td>{{$v->name}}</td>
            <td>{{$v->age}}</td>
            <td>{{$v->score}}</td>
            <td>{{$v->rank}}</td>
            <td><a href="del?id={{$v->id}}">删除</a></td>
        </tr>
        @endforeach
</table>
</body>
</html>